﻿@model IEnumerable<CategoryModel>
@{
    ViewBag.Title = "活动分类管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Direct{
    <div class="adr">
        <ul>
            <li>@Html.ActionLink("返回", "Index", "Event")
            </li>
            <li>@Html.ActionLink("新建", "Add", "Category")
            </li>
        </ul>
    </div>
}
<section class="cg-in">
    <div class="">
        @foreach (var item in Model)
        {
            <a href="/Category/Edit/@item.Id">
                <div class="data live-tile">
                    <span class="tile-title">@item.Name</span>
                    <p>@item.Description</p>
                </div>
            </a>
        }
    </div>
</section>
